home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Code
/
Chapter08
/
rotatemove.S3D
< prev
next >
Wrap
Text File
|
2000-06-30
|
2KB
|
82 lines
Background {
color 0.8353 1 0.9569
}
DEF groundplane Transform {
translation 0 0 0
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.6667 0.9412 0.1922
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
defaultFlatShaded FALSE
coord DEF groundplane-COORD Coordinate {
point [
150 0 -150 -150 0 -150 -150 0 150 150 0 150
]
}
coordIndex [
2 3 0 -1 1 2 0 -1
]
textureMappings [
]
}
}
]
}
DEF vehicle Transform {
translation 0 0 100
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.9882 0.3569 0.4902
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF vehicle-COORD Coordinate {
point [
-12.53 0 19.76 12.53 0 19.76 0 0 -19.76 -12.53 11.94 19.76 12.53 11.94 19.76 0 11.94 -19.76
]
}
coordIndex [
2 1 0 -1 3 4 5 -1 0 1 4 -1 4 3 0 -1 1 2 5 -1 5 4 1 -1 2 0 3 -1 3 5 2 -1
]
smoothingIndex [
2 -1 3 -1 4 -1 4 -1 5 -1 5 -1 7 -1 7 -1
]
appearanceIndex [
1 0 4 4 3 3 2 2
]
textureMappings [
]
}
}
]
}
DEF FDirect01-LIGHT DirectionalLight {
affectedGroups "#Root"
intensity 1
color 1 1 1
direction 0 -0.9239 -0.3827
on TRUE
}
DEF Camera01 Viewpoint{
position -0.9639 292.9 374.4
orientation 1 0 0 -0.672
fieldOfView 0.6024
description "Camera01"
}